package cn.cfoodc.sharding.service;



import cn.cfoodc.sharding.domain.TComplex;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.sql.Timestamp;
import java.util.List;

public interface TComplexService {

    List<TComplex> selectAll(String benginCreateDatetime , String endCreateDatetime);

    TComplex selectByPrimaryKey(Long userId ,Long id);

    int insertOne(TComplex tComplex);

    TComplex selectByUseridAndCreatedate( Long userId , String createDatetime);

    int deleteByPrimaryKey(Long id ,Timestamp createDatetime);

    int updateByPrimaryKey(TComplex tComplex);
}
